import input
import ship


# Read the input data.
graph, time0, state0, simulator = input.read_data("data/graph.xlsx",
                                                  "data/ice.xlsx",
                                                  "data/ships.xlsx")

# Select a ship.
ship_name = "EDUARD TOLL"

# Create a ship rout model.
ship_route = ship.ShipRoute(simulator.ship_speeds[ship_name], graph)

# Select a start node.
index_start = 7

# Select an end node.
index_end = 5

# Find the shortest path.
edges = ship_route.find_path(index_start, index_end)
